package com.burgeon.backend.SHOP.mappers;

import com.burgeon.backend.SHOP.entity.Basket;

import java.util.List;

public interface BasketMapper {

    String basketCount(String uid,String token);

    /**
     * 获取这个使用者购物车选中的数据
     * @param uid
     * @param token
     * @return
     */
    List<Basket> thisVipSelectedData(String uid,String token);

    Integer delData(String id);

    List<Basket> getData(String uid,String token);

    Integer setData(String id,String num,String selected,String token);

    void insertBasket(Basket basket);

    Basket findBasket(String code,String uid,String gid,String token);


}
